home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 4: Demo 1
/
almathera_demo1.bin
/
sourcecode
/
dexion
/
write rutine.s
< prev
next >
Wrap
Text File
|
1995-03-17
|
274b
|
26 lines
write = -48
pline:
bsr pmsg
pcrlf:
move #10,d0
bsr pchar
move #13,d0
pchar:
move.b d0,outline
move.l #outline,d2
pmsg:
move.l d2,a0
clr d3
ploop:
tst.b (a0)+
beq pmsg2
addq.l #1,d3
bra ploop
pmsg2:
move.l dosbase,a6
jsr write(a6)
rts
outline: dc.w 0
conhandle: dc.l 0